package rjeutsky.database.interfaces;

import java.sql.SQLException;
import java.util.List;

public interface CRUDDomainRepository<T> {
	public List<T> query() throws SQLException;
	public void create(T item) throws SQLException;
	public T read (long id) throws SQLException;
	public void update (T item) throws SQLException;
	public void delete (long id) throws SQLException;
}
